package com.ls.data.mapper;

import com.ls.pojo.Customer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author 段成
 * @date 2020/1/9 - 11:23
 */
@Mapper
public interface CustomerMapper {
    @Select("select * from tb_customer where username = #{value}")
    Customer getCustomerByName(String username);
}
